{% extends "base.html" %}

{% block title %}Acompanhar pedido{% endblock %}

{% block body_navegacao %}
<table class="table table-striped">
    <thead> 
        <tr>
            <th>Pedido</th>
            <th>Data</th>
            <th>Valor</th>
            <th>Valor pago</th>
            <th>Troco</th>
            <th>Status</th>
        </tr>
    </thead>
    <tbody>
        {% for p in pedidos %}
        <tr>
            <td>#{{ p.id }}</td>
            <td>{{ p.data }}</td>
            <td>{{ p.valor_total }}</td>
            <td>{{ p.valor_pago }}</td>
            <td>{{ p.troco }}</td>
            <td>{{ p.status_printable }}</td>
        </tr>
        {% endfor %}
    </tbody>
</table>
{% endblock %}
